MACHINE LEARNING with MATLAB. SUPERVISED LEARNING and CLASSIFICATION by J. Smith
Author:J. Smith [Smith, J.]
Language: eng
Format: azw3
Publisher: UNKNOWN
Published: 2017-04-10T04:00:00+00:00
4.2 Functions
fitcnb
Train multiclass naive Bayes model
predict
Predict labels using naive Bayes classification model
templateNaiveBayes
Naive Bayes classifier template
4.2.1 fitcnb
Train multiclass naive Bayes model
Syntax
Mdl = fitcnb(Tbl,ResponseVarName)
Mdl = fitcnb(Tbl,formula)
Mdl = fitcnb(Tbl,Y)
Mdl = fitcnb(X,Y)
Mdl = fitcnb(___,Name,Value)
Description
Mdl = fitcnb(Tbl,ResponseVarName) returns a multiclass naive Bayes model (Mdl), trained by the predictors in table Tbl and class labels in the variable Tbl.ResponseVarName.
Mdl = fitcnb(Tbl,formula) returns a multiclass naive Bayes model (Mdl), trained by the predictors in table Tbl. formula is an explanatory model of the response and a subset of predictor variables in Tbl used to fit Mdl.
Mdl = fitcnb(Tbl,Y) returns a multiclass naive Bayes model (Mdl), trained by the predictors in the table Tbl and class labels in the array Y.
Mdl = fitcnb(X,Y) returns a multiclass naive Bayes model (Mdl), trained by predictors X and class labels Y.
Mdl = fitcnb(___,Name,Value) returns a naive Bayes classifier with additional options specified by one or more Name,Value pair arguments, using any of the previous syntaxes. For example, you can specify a distribution to model the data, prior probabilities for the classes, or the kernel smoothing window bandwidth.
Examples
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Modelling of Convective Heat and Mass Transfer in Rotating Flows by Igor V. Shevchuk(6410)
Weapons of Math Destruction by Cathy O'Neil(6221)
Factfulness: Ten Reasons We're Wrong About the World – and Why Things Are Better Than You Think by Hans Rosling(4718)
A Mind For Numbers: How to Excel at Math and Science (Even If You Flunked Algebra) by Barbara Oakley(3265)
Descartes' Error by Antonio Damasio(3252)
Factfulness_Ten Reasons We're Wrong About the World_and Why Things Are Better Than You Think by Hans Rosling(3218)
TCP IP by Todd Lammle(3161)
Fooled by Randomness: The Hidden Role of Chance in Life and in the Markets by Nassim Nicholas Taleb(3083)
Applied Predictive Modeling by Max Kuhn & Kjell Johnson(3045)
The Tyranny of Metrics by Jerry Z. Muller(3034)
The Book of Numbers by Peter Bentley(2936)
The Great Unknown by Marcus du Sautoy(2666)
Once Upon an Algorithm by Martin Erwig(2628)
Easy Algebra Step-by-Step by Sandra Luna McCune(2607)
Lady Luck by Kristen Ashley(2557)
Practical Guide To Principal Component Methods in R (Multivariate Analysis Book 2) by Alboukadel Kassambara(2519)
Police Exams Prep 2018-2019 by Kaplan Test Prep(2518)
All Things Reconsidered by Bill Thompson III(2374)
Linear Time-Invariant Systems, Behaviors and Modules by Ulrich Oberst & Martin Scheicher & Ingrid Scheicher(2349)